import axios from '@/utils/request'

// 为指定的手机号发送短信验证码
const sendSms = (url: string, data: any) => {
  return axios({
    url,
    method: 'POST',
    data
  })
}

// 用户注册接口
const register = (url: string, data: any) => {
  return axios({
    url,
    method: 'POST',
    data
  })
}

export { sendSms, register }
